package com.cjr.vo;

import com.cjr.validator.IsMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author cjr
 * @description login parameters
 */
@Data
public class LoginVo {
   @NotNull
   @IsMobile
   private String mobile;

   @NotNull
   @Length(min = 32)
   private String password;
}
